Crucial role of fluorescence in the solid-state thermochromism of salicylideneanilines.