Wedge‐shaped and flat cross‐sections for quantitative characterization of the electrostatic potential distributions across p‐n junctions by electron holography