Enhancement and suppression of transmission in 3D nanoslits arrays with 1- and 2D periodicities