Binding of ion pairs in a thiourea-functionalized self-folding cavitand