how bacteria decompose organic matter