3D printed diffractive lenses operating at 1 THz