ac-Stark autocorrelator for ultrafast laser pulses