Kinetically and thermodynamically controlled syntheses of covalent molecular capsules