The Dynamics of Inflation and Currency Substitution in a Small Open Economy