Impact of energetic cosmic-ray ions on astrophysical ice grains