Systematic investigation on the electrochemical performance of Cd-doped ZnO as electrode material for energy storage devices