Metal-promoted assembly of organic-based cages into a porous material