Theoretical study of the effects of refraction on the noise produced by turbulence in jets