Synthesis, Characterization, Electronic Structure, and Photocatalytic Activity of Nitrogen-Doped TiO2 Nanocatalyst