How are photosynthetic organisms able to protect themselves from energy-related damage?