Statistical thermodynamics of ordering in ferromagnets