A 5 kV nanosecond-risetime pulse generator gating an electro-optical shutter