Tunable middle infrared radiation with HgGa2S4 crystal