Electrochemical synthesis of new polymeric reagents