Model for ion transport in bipolar membranes.