Electrode structural changes and their effects on capacitance performance during preparation and charge-discharge processes