Optimization of repeated-batch transcription for RNA production.