Manchester United have announced the transfer of Eric Bailly from Villarreal subject to a work permit.