Pence's homer in 10th lifts Phillies over Astros