Study of solvent effect on electronic absorption spectra of some substituted anilines naphthalenes and quinones