Mets hang on to edge Cubs