Regulation of NADH supply for nitrate reduction in green plants via photosynthesis and mitochondrial respiration