thermodynamic stability of sedimentary iron sulfides