Characterization and application of the resonant properties of out-diffused silver nanoislands