Spectral artifacts from non-uniform samples analyzed by terahertz time-domain spectroscopy.