Rotational relaxation in gases and its spectral manifestations