Optical modulation of supramolecular assembly of amphiphilic photochromic diarylethene: from nanofiber to nanosphere.