Hamels returns to pitch Phillies over Padres 3-2