Random Excitation of Structures by Earthquakes and Atmospheric Turbulence