Photosynthetic response to fluctuating environments and photoprotective strategies under abiotic stress