Probing photochemically-induced dynamic transitions by magic-angle-spinning NMR combined with in-situ irradiation.