Bumgarner, Giants snap Mets' eight-game win streak