Microscopic calculation of interacting boson model parameters by potential-energy surface mapping