O2 and H2S coexistence in stromatolites