An analysis of the noise schedule for score-based generative models