Protein assembly and heat stability in developing thylakoid membranes during greening