A comparative study of fluid carbon monoxide and fluid nitrogen by Rayleigh scattering