New insight into photosynthesis could help grow more resilie