AI-driven tool to help plants adapt to climate change developed