A Bayesian predictive approach to sequential searching for an optimal dose: parametric and nonparametric models