An adaptive Bayesian inversion for upper-mantle structure using surface waves and scattered body waves