On the formation of the outer satellite groups of Jupiter