When a PN junction is forward-biased it behaves like a closed switch (on) and when it is reverse-biased it behaves like an open switch (off). Discuss this statement with use and description of the terms doping, depletion layer and forward/reverse biased.