Terahertz imaging via time reversal using single-cycle pulses