Which geographic factor was most important to the development of the early river valley civilizations?