The Duration of Fixed Exchange Rate Regimes