Exchange Rate Regimes and Institutional Arrangements in the Shadow of Capital Flows