Electronic structure of the tungsten (001) surface