Polymerization of cyclodextrin-ionic liquid complexes for the removal of organic and inorganic contaminants from water