Thermodynamic study of ice and clathrate hydrates