What impact did geography have on political life in ancient Greece?