Creamy Bow Tie Pasta with Mushrooms, Spinach, and Caramelized Onions