Thermodynamics of nanocrystalline platinum