The molecular basis of mutant hemoglobin dysfunction