Determination of refractive indices of liquids by Fresnel diffraction