Tariffs and Foreign Investment