Synthetic Multifunctional Pores that Open and Close in Response to Chemical Stimulation