Why does a capacitor block DC but lets AC pass through it?