Indirect solvent assisted tautomerism in 4-substituted phthalimide 2-hydroxy-Schiff bases.