CUTS: A Framework for Multigranular Unsupervised Medical Image Segmentation