Consideration of Thiol and Carboxylic Acid Chemisorption on Various Electrode Materials by Thermodynamic Calculation