Convergence for score-based generative modeling with polynomial complexity