The Determination of the Refractive Indices of Inhomogeneous Solids by Interference Microscopy