Synthesis, assembly and degradation of thylakoid membrane proteins.