Chemical stability of polymers under argon gas cluster ion beam and x-ray irradiation