Molecular mechanisms in the cyclotrimerization of acetylene to benzene on palladium (111)