Optimal channel networks: a framework for the study of river basin morphology