Dinuclear Pt and Pd complexes with metalloporphyrin bridges: A NEXAFS study of the electronic structure and self-assembling properties