Impact of subgrid-scale vegetation heterogeneity on the simulation of carbon-cycle characteristics