Theoretical and experimental investigations of the electronic structure of oxygen on silicon