Interaction of heavy metal ions with an ion exchange resin obtained from a natural polyelectrolyte