Theory of the electronic structure of the Si-SiO 2 interface