A mathematical model of turbolent heat and mass transfer in stably stratified shear flows