Rational design of conducting redox polymers for electrical energy storage