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