Models and molecular mechanisms for trade-offs in the context of metabolism