Synthesis and application of a chiral ionic liquid functionalized β-cyclodextrin as a chiral selector in capillary electrophoresis.