The role of war and violence in the formation of the ancient Egyptian state