Mechanical properties, structure and composition of ion-plated tungsten carbide films