Kinetics of the degradation of electrical conductivity in polypyrrole