Prysmian to buy Atkore for $3.8 billion in all-cash deal