Terahertz wave generating module and terahertz wave detection device using the same