Interacting boson model from energy density functionals