How does capacitor resist electrons if it is resist?