Optimization and control of recombinant protein expression