Bumgarner, Giants beat Moyer, Rockies 4-2