Text this: Accurate deep-learning model to differentiate dementia severity and diagnosis using a portable electroencephalography device