Measurement of the neutron capture cross section on argon