Equilibrium statistical mechanics