Terahertz time-domain spectroscopy and imaging of archival documents