Open-ended inorganic nanotubes: band-gap and bands-engineering of a photo-catalyst