Singlet oxygen production in photosystem II and related protection mechanism