Biogenesis and origin of thylakoid membranes.