Mössbauer effect and magnetization after hydrogen absorption in 57Fe-doped HoCo2 and YCo2