Volumetric spectral analysis of materials using terahertz-tomography techniques