Generating diagnostic profiles of cognitive decline and dementia using magnetoencephalography