Supramolecular edifices and switches based on metals