Geography, competition, and optimal multilateral trade policy