Synthesis and characterization of TEMPO- and viologen-polymers for water-based redox-flow batteries