Migration, Skill Formation, and the Wage Structure