Control of heme reactivity by diffusion: structural basis and functional characterization in hemoglobin mutants