Pulse characterization by cross-phase modulation in chalcogenide glass.