Electrical characterization of polymer light-emitting diodes