Inorganic energy storage