Cheesy Spaghetti Squash Gratin with Fresh Basil