The Nishimori line and Bayesian statistics