Enhancing solar cells with localized plasmons in nanovoids