A 7.8 kV nanosecond pulse generator with a 500 Hz repetition rate