Degradation studies of doped and dedoped poly(3-octyl thiophene)