Tomato, Squash, and Feta Gratin with Garlic, Basil, and Fresh Parmesan