Spatial distribution of electrical properties in GaN p-i-n rectifiers