Investigation of thermodynamic properties of high entropy (TaNbHfTiZr)C and (TaNbHfTiZr)N