Tommy Pham hits game-winning homer in 14th