Phonon spectra of ultrathin GaAs/AlAs superlattices: An ab initio calculation