Structural adaptations of photosynthetic complex I enable ferredoxin-dependent electron transfer