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