David Villa scores as NYCFC clinches playoff spot