Learning profiles and the ‘skills gap’ in four developing countries: a comparative analysis of schooling and skills development