Pathological MRI Segmentation by Synthetic Pathological Data Generation in Fetuses and Neonates