Contraction flow of ionomers and their corresponding copolymers: Ionic and hydrogen bonding effects