Tailoring the structure-property of segmented ionenes through analysis of thermomechanical and electrical properties