Formation of electrogenerated base by the electroreduction of polyacrylamides