Labor markets and internal migration in developing countries