what is barrier height of a schottky diode why do electrons flow from n type semiconductor to the