Structural basis for electron transport mechanism of complex I-like photosynthetic NAD(P)H dehydrogenase