Water splitting capabilities of TiO2 nanotubes