Targeting of lumenal proteins across the thylakoid membrane.