The demographic transition theory of war: why young societies are conflict prone and old societies are the most peaceful