Gibbs free energy and equilibrium constant