Electrochemical growth of multisegment nanoporous tin oxide layers by applying periodically changed anodizing potential