Ion transport in a polypyrrole-based ion-exchange polymer