Terahertz spectroscopic characterization of paper