How did most kings in ancient Greece come to power?