Patient allocation and investigational agent inventory management for clinical trials.