On the mechanism of hydrogen-environment embrittlement of iron- and nickel-base alloys