Online retailer Overstock to buy some assets of Bed Bath & Beyond