A diffraction grating autocorrelator for measurement of single ultrashort light pulses