Dendrimer diarylethenes: the memory effect of conformation in polymer matrices.