Characterisation of the output from a Q-switched/mode-locked cw Nd:YAG laser