Name the factors that affect the denaturation of proteins?