Waves and turbulence in stably stratified flows