Some 1‐substituted quaternary imidazolium compounds and related polymers: Qualitative and quantitative infrared analysis