Demultiplexing of a 40-Gb/s optical signal to 2.5 Gb/s using a nonlinear fiber loop mirror driven by amplified, gain-switched laser diode pulses