Curried Lentils with Sweet Potatoes and Spinach