States and transport of hydrogen in the corrosion process of an AZ91 magnesium alloy in aqueous solution