Bayesian segmentation of brainstem structures in MRI