Analysis of Semiconductor p‐n Junctions and Junction Devices by a Flux Method