Design and applications of lattice plasmon resonances