Nitrogen and magnesium Co-doped biochar for phosphate adsorption