Climate variability and agriculture