Thermodynamic stability of in situ W–ZrC and W–Zr(CN) composites