CHEMICAL BOND AND INTERFACES STATES AT METAL-SEMICONDUCTOR AND INSULATOR-SEMICONDUCTOR INTERFACES