Monte Carlo methods in statistical physics