A Thermodynamic Analysis of Microbial Surface Chemistry and Metabolic Strategies