Autophagy promotes cell and organismal survival by maintaining NAD(H) pools