Enhanced removal performance of magnesium-modified biochar for cadmium in wastewaters: Role of active functional groups, processes, and mechanisms.