Passively Q-switched and mode-locked Nd:GGG laser with a Bi-doped GaAs saturable absorber.