A study of collective octupole states in barium in the interacting boson model