Depth profiling of layered structures in conducting polymer thin films prepared by the potential-programmed electropolymerization method