Paper accepted for publication at the Journal of International Economics