Mechanisms underlying the interactions and adaptability of nitrogen removal microorganisms in freshwater sediments