Optical polarization and intervalley scattering in single layers of MoS2 and MoSe2