Agricultural diversification as an adaptation strategy