Costume of the population of the North Caucasus of the VII-XVII centuries (reconstruction of ethnosocial history)