Coupling light to periodic nanostructures by