Solid-state characterization and photoinduced intramolecular electron transfer in a nanoconfined octacationic homo[2]catenane.