Predicting Food Webs and Species Abundance Using Mating and Foraging Behavior