Synthesis and characterization of nitrogen-doped TiO2 nanoparticles prepared by sol–gel method