Construction and validation of statistical brain atlases for atlas-based brain image segmentation