Photo-tunable linear and nonlinear optical response of cyclophanediene-dihydropyrene photoswitches.