On the optimal external tariff of a free trade area with internal market integration