The optimal control of processes containing pure time delays