Statistical mechanics applied to cooperative ligand binding to proteins.