Diagnosis of neuropsychiatric disorders using magnetic resonance imaging