Conversion of cellulose to HMF in ionic liquid catalyzed by bifunctional ionic liquids.