Terahertz and mm-wave applications at ENEA-Frascati