Polynomial surrogates for Bayesian traveltime tomography