Self-assembled metal/molecule/semiconductor nanostructures for electronic device and contact applications