Economically viable removal of arsenic and mercury from water and wastewater by adsorption on waste materials