Using Millimeter and Terahertz Frequencies for Complex Permittivity Retrieval of Low-Loss Materials