Multistep laser pulse generation using passive electrical networks in the driver of a cavity-dumped Q-switched oscillator