Modified spectrum of atmospheric temperature fluctuations and its application to optical propagation