Substituent and solvent effects on intramolecular charge transfer of 5-arylidene-2,4-thiazolidinediones.