Bayesian analysis for reversible time series with applications to molecular dynamics simulation