Trade, poverty, and social protection in developing countries