Surface Plasmons For Enhanced Thin-Film Silicon Solar Cells And Light Emitting Diodes