Mechanisms of formation of A- and V-segregation in cast steel