Distributions of light ions and foil destruction after irradiation of organic polymers