Direct measurement of refractive index dispersion of transparent media by white-light interferometry