with one of the electrodes allowing ions or anions to be reversibly doped thereinto