On thermodynamics of protein denaturation