Electron and atomic structure of polymers: Implication for nuclear tracks formation