Alfaro mashes pinch-hit 3-run HR in 9th for 3-2 Padres win