All-optical storage of picosecond pulse packets using wavelength-induced XPM and parametric amplification