Spectrophotometric methods of refractive indices measurement