Pederson homers twice to lead Dodgers over Padres, 7-6