Electrochemically switched anion translocation in a multicomponent coordination compound