Non-neutral community dynamics: empirical predictions for ecosystem function and diversity from linearized consumer–resource interactions