Rate constants for the formation of CS by radiative association