High-yielding plants that survive temperature swings may be our next weapon against climate change