Automatic scan prescription for brain MRI