Photoswitching of Intramolecular Magnetic Interaction Using a Diarylethene Dimer