Comparison of electrodialysis reversal (EDR) and electrodeionization reversal (EDIR) for water softening