Optical anisotropy, order parameter and its critical behavior in temperature-dependent refractive indices of nematic liquid crystals