Surface plasmons for enhanced silicon light-emitting diodes and solar cells