The relationship between the degree of violation of Bell-CHSH inequality and measurement uncertainty in two classes of spin squeezing mechanisms