Topochemistry for preparing ligands that dimerize receptors