Nano-Thermodynamics of Chemically Induced Graphene-Diamond Transformation.