Study of factors controlling the photoprotection capacity of the thylakoid membrane