Temporal Imaging for Ultrafast Spectral-Temporal Optical Signal Processing and Characterization