Mechanism of methanol decomposition on the Pd/WC(0001) surface unveiled by first-principles calculations