The effect of hydrogen on the passivity of iron-based and nickel-based amorphous alloys