Graph based measurements of the decline of syntactic complexity in speakers with dementia