Lattice dynamics of chalcopyrite type compounds. Part I. Vibrational frequencies