Heat of formation and heat capacity