Influence of ester functional groups on the liquid-phase structure and solvation properties of imidazolium-based ionic liquids.