Determination of the magnetic contribution to the heat capacity of cobalt oxide nanoparticles and the thermodynamic properties of the hydration layers