Topological pumping in the one-dimensional Bose-Hubbard chain