Terahertz diffractive structures for compact in reflection inspection setup