Recording and automatical analysis of pulsed off-axis holograms for determination of cavitation nuclei size spectra