Direct measurement of the Rayleigh scattering cross section in various gases