Investigation of cation–anion interaction in 1‐(2‐hydroxyethyl)‐3‐methylimidazolium‐based ion pairs by density functional theory calculations and experiments