Bayesian inference of time varying parameters in autoregressive processes