Behavioral Ecology and the Transition to Agriculture