Segment densities in star and comb random-flight chains