Autophagy promotes cell survival by maintaining NAD(H) levels