Studies on hydrogen embrittlement in Zr- and Ni-based amorphous alloys