What is the common ecological role that fungi, bacteria, and some protists perform in maintaining equilibrium in ecosystems?