NEXAFS identification of a catalytic reaction intermediate: C4H4 on Pd(111)