What is semiconductor diode in electronics