VEGA: variational segmentation for copy number detection.