Void and grain resonances in discontinuous silver thin films close to the percolation threshold