Two-phase waveform generator with dobbeltkondendator for defibrillation with the use of selective connection of the capacitor