A universal charge-compensating strategy for high-energy-density pseudocapacitors