Smart Nano-switch with Flexible Modulation of Ion Transport Using Multiple Environmental Stimuli.