Application of Clausius-Mossotti approximation to the problems of conductivity, superconductivity, and magnetism in ceramic materials