The relation of solvatochromism and thermochromism to the solvent dielectric constant: The basis of the ET and E'T polarity scales