The origin of the family, private property and the state