Hydrides for energy storage