Corrosion of conducting polymers in aqueous media