Temperature dependence of optical and electronic properties of moderately doped silicon at terahertz frequencies