Molecular receptors and devices from macrocylic chemistry