On Monte Carlo methods for Bayesian inference