Electrochemically modulated transport through a conducting polymer membrane