Impact modifier for polyamide compositions and compatibilizer for blends of polyolefins with polar polymers