Supramolecular electrochemistry of coordination compounds and molecular devices