Analysis of nonideal Schottky and p‐n junction diodes—Extraction of parameters from I–V plots