Characterization of reactive groups in proteins and other polymers with special reference to denaturation of proteins