A mathematical model for structure-function relationships in hemoglobin.