Novel polyamides from macrocyclic ethers