Excited state properties of anodic TiO2 nanotubes