Fabrication of nanoporous TiO2 by electrochemical anodization