Gain switched laser diodes for the characterization of subnanosecond voltage pulses