The effect of the rotation hindrance on physical properties of some heterocyclic polyamides containing pendent imide groups