Contribution of ionizations and atomic displacements to the hardening of ion-irradiated polymers