Macrocyclic compounds in analytical chemistry