Turbulent mixing driven by mean-flow shear and internal gravity waves in oceans and atmospheres