Bumgarner, Giants beat Mets for doubleheader sweep