Intrinsic structure of two-phonon states in the interacting boson model