Thermal decomposition of citric acid