Measurement of Refractive Indices and Study of Isotropic-Nematic Phase Transition by the Surface Plasmon Technique