Robust and multifunctional nanosheath for chemical and biological nanodevices.