The Optimal Timing of Procurement Decisions and Patent Allocations