Hyperfine and X-ray investigations of amorphous Fe2Er and Fe2Ce alloys and the effect of hydrogenation on short-range order