Buffering and Trapping Ultrashort Optical Pulses in Concatenated Bragg Gratings