On the acidity of liquid and solid acid catalysts: Part 1. A thermodynamic point of view