Synthesis and characterization of an ion exchanger based on tamarind kernel powder and its application for removal of some metal ions from industrial effluents