Controllable fabrication of supramolecular nanocoils and nanoribbons and their morphology-dependent photoswitching.