Bayesian Inference for Structural Changes in Time Series Models