Electronic properties and high-pressure behavior of wolframite-type CoWO4