An Ultrafast Optoelectronic THz Beam System: Applications to Time-Domain Spectroscopy