SegGen: Supercharging Segmentation Models with Text2Mask and Mask2Img Synthesis