Application of Stochastic Control Theory to Optimal Design of Dosage Regimens