Ion-beam induced chemical and structural modification in polymers