Application of the theory of multiple scattering of waves to the derivation of the radiation transfer equation for a statistically inhomogeneous medium