High-pressure effect on far-infrared spectra. I. Symmetric and antisymmetric metal-halogen stretching vibrations