Which metabolic pathway directly produces NADPH and ribose-5-phosphate?