How did geography influence the development of ancient Greece?