A density functional study of the relative stability of intermediates in a McMurry coupling reaction