equilibrium statistical mechanics