The influence of nitrogen on the feeding strategies of herbivores and detritivores