Body-size spectra of production and biomass as system-level indicators of ecological dynamics