Neutron activation of gadolinium for ion therapy: a Monte Carlo study of charged particle beams