Measuring the carrier lifetime by using a quasi-optical millimeter- and THz-wave system