Fluorescence solvato and vapochromism of a dimethylaminostyryl terpyridine derivative