Design of molecular rectangles by using compartmental and exo-bidentate ligands