Preparation of fluorinated alkenes in ionic liquids