Plastid thylakoid architecture optimizes photosynthesis in diatoms