Lattice vibrations in M(CH3COO)2•4H2O/D2O, M=Mg, Co, and Ni