Supramolecular approach for synthesis and functionalization of cyclic macromolecules