Nitrogen doping on NiO by reactive magnetron sputtering: A new pathway to dynamically tune the optical and electrical properties