Electrical properties of extended defects in III-nitrides