Assessment of the Ti-W-C System and Calculations in the Ti-W-C-N System