Which of the following was the most important development that caused people to shift from hunter-gather societies to agricultural settlements more than 5,000 years ago?