Electro-optical configuration for the generation of ultrashort laser pulses