Nitrogen doped NiS2 nanoarrays with enhanced electrocatalytic activity for water oxidation