Studies on the performance of functionalized Fe3O4 as phosphate adsorbent and assessment to its environmental compatibility