German chemical company BASF is to buy the global nylon or polyamide business of Belgian rival Solvay in a deal worth EUR1.6bn (US$1.9bn).