Bumgarner, Sandoval lead Giants past Padres 4-1