Synthesis and characterization of N-doped TiO2 and its enhanced visible-light photocatalytic activity