Temporary monetary and fiscal policy in an optimizing model of exchange rate determination