Responses of intracellular cofactors to single and dual substrate limitations