Nanostructured Surfaces for Teraherz Generation