Crop production and global food security in relation to climate variation: an empirical analysis