Mapping croplands, cropping patterns, and crop types using MODIS time-series data