Solvent dependence of the inhibition of intramolecular charge-transfer in N-substituted 1,8-naphthalimide derivatives as dye lasers