Preparation of substituted allyl acetates and sulfones from Baylis–Hillman adducts in ionic liquid media