On the joint distribution of runs in a sequence of multi-state trials