Insight into the dual effect of water on lignin dissolution in ionic liquids.