Characterization and photocatalytic properties of nanoporous titanium dioxide layer fabricated on pure titanium substrates by the anodic oxidation process