Biochar-templated surface precipitation and inner-sphere complexation effectively removes arsenic from acid mine drainage