What is the effective refractive index and how is it different from the refractive index? How can we calculate the effective refractive index?