Unlocking ancient rice secrets to overcome rainfall extremes