West Ham United have confirmed the signing of Colombia left-back Pablo Armero from Napoli on loan until the end of the season.