Thermal treatment effect on the mechanical, tribological and corrosion properties of Ni–W alloy obtained by direct and pulse plating electrodeposition