explain the difference between charging and discharging process of a capacitor​