Bayesian inference in ring attractor networks.