Bumgarner, Giants top deGrom, Mets 3-1