Generation and validation of algorithms to identify subjects with dementia using administrative data