Contrasting patterns of niche partitioning between two anaerobic terminal oxidizers of organic matter