Duda's RBI single in 7th leads Mets past Phillies