Shell-model foundations of the interacting boson model