Integration of conventional electrodialysis and electrodialysis with bipolar membranes for productio