Terahertz Spectroscopic Techniques for Material Characterization and Source Development