TiO2 nanotubes as a cold cathode for x-ray generation