Cooperativity effect in metal-ligand and macromolecule-ligand equilibria