Ligand migration through hemeprotein cavities: insights from laser flash photolysis and molecular dynamics simulations