Studies of the electronic energy migration and trapping in polystyrene