Comparative study of theSp (2,R) and theSp(6,R) models and an application to theBa chain of isotopes