2 μm Pulsed Fiber Laser Sources and Their Application in Terahertz Generation