Polariton theory of the scattering of light beams in semiconductors