Understanding the role played by protic ionic liquids (PILs) and the substituent effect for enhancing the generation of Z-cinnamic acid derivatives†