Optimizing the electrochemical performance of imidazolium-based polymeric ionic liquids by varying tethering groups