Modeling of gravity-wave tail spectra in the middle atmosphere via numerical and Doppler-spread methods