Solvent effects on the photophysical properties of N-substituted 1,8-naphthalimide derivatives