Text this: Speckle patterns formed by broadband terahertz radiation and their applications for ghost imaging