Trade and foreign investment policies under imperfect competition : Lessons for developing countries