Index of refraction and waveguiding in thin films of a conjugated polymer which exhibits stimulated emission