ac current through a capacitor