Prediction of photoinhibition of photosynthesis from measurements of fluorescence quenching components