Magnetic properties of corrosion-resistant CoW films