Applying electric currents by contact electrodes alternating or intermittent currents for producing shock effects