Summer squash casserole with water chestnuts