Electric field mapping of wide-bandgap semiconductor devices at a submicrometre resolution