Relation between catalytic properties and structure of metal films: I. Deuterium exchange of methane, ethane, and propane over nickel