A Bayesian Markov-Switching Correlation Model for Contagion Analysis on Exchange Rate Markets