Ion-track reaction-rate model for hydrogen production from polymers