Characterizing ultrashort laser pulses with second harmonic dispersion scans