Adsorption and thermal reactions of alkanethiols on pt(111): Dependence on the length of the alkyl chain.