On the Statistical Benefits of Curriculum Learning