Hydrides of beryllium-based intermetallic compounds