Image reconstruction using spectroscopic and hyperspectral information for compressive terahertz imaging