Preparation and properties of porous metal hydride compacts