Simultaneous desulfurization and denitrification by electrodialysis