Treatise on solid state chemistry