Thermodynamic study of enzyme activity and thermostability