Spain international David Villa has completed his move from Atletico Madrid to newly-formed Major League Soccer side New York City FC.