Electronic structures of naked and molecular encapsulated Au nanoparticles