Terahertz beam steering using active diffraction grating fabricated by 3D printing.