Molecular adaptation of hemoglobin function in mammals