Calculations of phonon spectra in III–V and SiGe superlattices: A tool for structural characterization