Influence of Vertical Heterogeneity of Atmospheric Temperature on the Propagation of Acoustic-Gravity Waves