Adsorption studies of lead (II) and nickel (II) ions on chitosan-G-polyacrylonitrile