Nitrogen-doped TiO2 nanopowders prepared by chemical vapor synthesis: band structure and photocatalytic activity under visible light