The Relative Thermodynamic Stability of Diamond and Graphite