Microstructuring of conducting polymers