Micelles as containers for self-assembled nanodevices