Unsupervised deep learning for Bayesian brain MRI segmentation