First-principles study of the hydrogen doping influence on the geometric and electronic structures of N-doped TiO2