Electrochemical synthesis of ion exchange polymers: Comparison between hydroxide and proton conductors