Bayesian Methods in Cosmology