Vibrational dynamics of metal cyanides