Light-stimulated cargo release from a core–shell structured nanocomposite for site-specific delivery