Capacitor charge and potential difference