Heat capacity of niobium carbide in different structural states