Substitution shift with reversible jump MCMC