Enhanced index of refraction: a comparison between two- and three-level systems