Structure Switching and Modulation of the Magnetic Properties in Diarylethene-Bridged Metallosupramolecular Compounds by Controlled Coordination-Driven Self-Assembly.