The social sources of homicide in different types of societies