Nationals, eliminated from playoff contention, beat Mets 6-0