Dynamic shape transitions in the interacting boson model