A dynamic quantity adjustment process in a small open economy, and welfare effects of tariff changes