Physicochemical and solvatochromic analysis of an imidazole derivative as NLO material.