Theory of semiconductor surface states and metal–semiconductor interfaces | Synapse