Relationship between X(5) models and the interacting boson model