A reversible jump MCMC algorithm for Bayesian curve fitting by using smooth transition regression models