Polarization of radiation in the case of multiple scattering in a plane layer