Environmental geochemistry of sulfide oxidation