Giants rally to beat Phillies, 2-1