Electronic and Catalytic Properties of Tungsten Carbide