The relationship between evolutionary and physiological variation in hemoglobin