DSMentor: Enhancing Data Science Agents with Curriculum Learning and Online Knowledge Accumulation