Synthesis and characterization of polysiloxane–polyamide block and graft copolymers