Modeling and optimization of a batch process for in vitro RNA production.