Polyacrylamide capacitors