Essays on wage inequality in developing countries