Carbon and energy fluxes in cropland ecosystems: a model-data comparison