Package delivery giant UPS beat Wall Street estimates for its first-quarter earnings.