Electronic structure of thermally oxidized tungsten