Synthesis of polyamide‐polyether block copolymers