Electronic Structure and Stability of Ligated Superatoms and Bimetallic Clusters