Essays on trade openness and vulnerability to poverty