Dual control of NAD+ synthesis by purine metabolites in yeast