Vibrational spectra of R(PO3)3 metaphosphates (R = Ga, In, Y, Sm, Gd, Dy)