what is capacitor do capacitor simple the free encyclopedia