Smart pH-Modulated Two-Way Photoswitch Based on a Polymer-Modified Single Nanochannel.