Design and synthesis of electrode materials with both battery-type and capacitive charge storage