Equilibrium statistical mechanics of lattice models