Encapsulation of a metal complex within a self-assembled nanocage: synergy effects, molecular structures, and density functional theory calculations.