Low-cost adsorbents for removal of inorganic impurities from wastewater