what type of government did sparta have in ancient greece