Polenta Gratin with Spinach and Wild Mushrooms