Carbon–fluid equilibria and the oxidation state of the upper mantle