Microenvironments for sulfate reduction and methane production in freshwater sediments