how to safely discharge a capacitor