Optimal exploitation of spatially distributed trophic resources and population stability