The nature of contact between Pd leads and semiconducingcarbon nanotubes