Chlorine-tolerant poly electrolyte membrane for electrochemical dye degradation