Registration of brain MR images in large-scale populations