Polymer light-emitting diodes placed in microcavities