Work function and reactivity of some crystal faces of substoichiometric transition-metal carbides