Fungal bioremediation of agricultural wastewater in a long-term treatment : biomass stabilization by immobilization strategy