[2312.01985] UniGS: Unified Representation for Image Generation and Segmentation