Second harmonic generation and Raman shift in Yb^3+:BaGd_2(MoO_4)_4 crystal