Dodgers turn triple play, beat Padres 5-4