Stand density and species richness affect carbon storage and net primary productivity in early and late successional temperate forests differently