UPS (United Parcel Service) has agreed to buy rival TNT (Thomas Nationwide Transport) in a 5.2 billion-euro ($6.8 billion) deal.…