Automated Segmentation of Cortical and Subcortical Gray Matter Structures for Evaluation of Alzheimer's Disease and Fronto-Temporal Dementia