Bumgarner outpitches and outhits deGrom, Giants top Mets 3-1