Degradation of polythiophene film by doping-undoping cycle