Effect of ionic liquid on structure and properties of polysquaraines