Adsorption of Cu(II) and Ni(II) by pelletized biopolymer