Electronic structure of epitaxially grown and regrown GaN pn junctions characterized by scanning Kelvin probe and capacitance microscopy