Parametric oscillation in beta-barium borate synchronously pumped by the third harmonic of a continuously excited mode-locked and Q-switched Nd:YAG laser