Molecular mechanisms of self-organization at friction. Part VI. Analysis of thermodynamic features of tribochemical reactions