A central limit theorem and its applications to multicolor randomly reinforced urns