Uncertainty analysis for attenuated total reflection THz-TDS