United Parcel Service’s third quarter revenue fell below Wall Street’s expectations, but profit surpassed them.