Fiscal policy cycles and the exchange rate regime in developing countries