A Thermodynamic Interpretation of Microbiologically Influenced Corrosion