Effects of Cu(II) and Ni(II) ions on adsorption of tetracycline to functionalized carbon nanotubes