Second harmonic beam analysis, a sensitive technique to determine the duration of single ultrashort laser pulses