Thermodynamic properties of multiwalled carbon nanotubes