An Ion Gate Membrane: Electrochemical Control of Ion Permeability through a Membrane with an Embedded Electrode