Energetics and kinetics of the interaction of acethylene and ethylene with Pd(100) and Ni(100)