Diffraction of sound by a refracting cylindrical barrier