Evolutionary spectral factor analysis of doping-undoping processes of thin conductive polymer films