Layer-by-layer encapsulated nano-emulsion of ionic liquid loaded with functional material for extraction of Cd2+ ions from aqueous solutions.