Periodic Plasmonic Nanoantennas in a Piecewise Homogeneous Background