Correlation between corn yield and climate (temperature and precipitation) in different periods