Light-emitting diodes, lithium batteries, and polymer devices