Formation of metal–semiconductor interfaces: From the submonolayer regime to the real Schottky barrier