Tailoring morphology, structure and photoluminescence properties of anodic TiO2 nanotubes