Block copolymers of copolyamides with polyoxirane