How does the refractive index of a medium depend on the wavelength of light used?