Spaghetti with Roasted Pumpkin, Spinach, and Walnuts