Acoustic echo-sounding techniques and their application to gravity-wave, turbulence, and stability studies