Harmonic interferometry in the visible and UV, based on second- and third-harmonic generation of a 25 ps mode-locked Nd:YAG laser