Study of the low-cost HIPS and paraffin-based terahertz optical components