Electron currents across metal–semiconductor interfaces