Electroluminescent properties of erbium-doped III-N light-emitting diodes