EBG structures for antenna design at THz frequencies