Six-run inning lifts Padres, sends Dodgers to brink