Interferometric refractometer for measuring the relative refractive index of two liquids