Soliton compression and pulse-train generation by use of microchip Q-switched pulses in Bragg gratings.