ideal capacitor