baked squash with apples and chestnuts