Electric field mapping in GaN based wide-bandgap semiconductor devices