United Parcel Service exceeded Wall Street estimates for quarterly profit on Thursday, benefiting from rebounding volumes and cost controls.