N-doped biochar synthesized by a facile ball-milling method for enhanced sorption of CO2 and reactive red