Modelling cropping periods of grain crops at the global scale