how do herbivores obtain the nitrogen they need?