Analysis of periodic metallic nano-slits for efficient interaction of terahertz and optical waves at nano-scale dimensions