A short course on Bayesian inference and Markov chain Monte Carlo