Bayesian inference in ecology