A Novel Domain Adaptation Framework for Medical Image Segmentation