Peculiarities of conducting military affairs in ancient tribes of Kazakhstan