Electro-assisted regeneration of ion exchange resins