Which cognitive screening tool assigns a maximum score of 30 and is widely used to detect dementia in clinical settings?