Electronic Structure of Semiconducting and Metallic Tubes in TiO2/Carbon Nanotube Heterojunctions: Density Functional Theory Calculations.