Optimization of redox-active anthraquinone as electrode and electrolyte materials in supercapacitors.