Effect of doping with nitrogen on electrical properties and erbium electroluminescence of a-Si:H(Er) films