THEORY OF THERMODIFFUSION FOR SOLIDS