Fiorentina have signed midfielder Anderson on loan from Manchester United for the rest of the season.