Productivity, nutrient imbalance and fragility in coupled producer–decomposer systems