flexible nanodevices