Ab initio study of the structural, elastic, and thermodynamic properties of tungsten monocarbide at high pressure and high temperature