Conformational changes in hemoglobin triggered by changing the iron charge