A calculation of the temperature-dependent susceptibility of Pd and dilute Pd1-xAgx and PdHx alloys