Adsorption studies on the removal of metal ions and dyes from industrial effluents using low-cost adsorbents