Mechanism and kinetics of the selective hydrogenation of ethyne and ethene