On the classical energy equipartition theorem