Statistical physics, Bayesian inference and neural information processing