Quantitative interferometric measurements of the refractive index and its applications