Optical studies of polymer light-emitting diodes using electroabsorption measurements