Ex-NBA All-Star McGrady yields homer, 2 runs in baseball debut