Phillies top Padres in 13 innings