Theoretical study of the electronic structure of the Si3N4(0001) surface