Electrospun light-emitting nanofibers as building blocks for photonics and electronics