Mechanical, electronic, and thermodynamic properties of zirconium carbide from first-principles calculations