Dynamic Environmental Policy in Developing Countries in the Presence of a Balance of Trade Deficit and a Tariff