Friction and wear behavior of tungsten and titanium carbide coatings