Transformation of carbonate rocks in sectors of development of biogenic sulfate reduction and methane formation