In situ Raman and UV-vis spectroscopic studies of polypyrrole and poly(pyrrole-2,6-dimethyl-β-cyclodextrin).