Optical emission and Rayleigh scattering in semiconductor superlattices in magnetic fields