Why does a capacitor have a voltage drop