Fresnel equations and the refractive index of active media.